﻿@model Models.Models.User
@{
    ViewBag.Title = "Edit";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Edit</h2>
<form action="@Url.Action("Edit")" method="post">
<table>
    <tr>
        <th>Id</th>
        <td>@Model.Id</td>
    </tr>
    <tr>
        <th>Name</th>
        <td>@Html.TextBoxFor(m => m.Name)</td>
    </tr>
    <tr>
        <th>Age</th>
        <td>@Html.TextBoxFor(m => m.Age)</td>
    </tr>
    <tr><td colspan="2"><input type="submit" value="确定" /></td></tr>
</table>
    </form>
